a {
  color: #343434;
  text-decoration: none;
}
h3 {
  margin:0;
}
html,
body,
#app {
  height: 100%;
  font-size:14px;
}

#app {
  background: #f1f3f7;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.clearfix:after {
  content: "";
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
}
.flex {
  display: flex;
  align-items: center;
}
.flex-item {
  flex: 1;
  display: block;
  min-width: 20px;
}
.justy-start {
  justify-content: flex-start;
}
.justy-end {
  justify-content: flex-end;
}
.justy-center {
  justify-content: flex-center;
}
.justy-around {
  justify-content: space-around;
}
.justy-between {
  justify-content: space-between;
}
// element style
.el {

  &- {

    // main
    &main {
      padding: 15px;
    }

    // card
    &card {

      &__ {

        &body {
          padding: 15px;
        }
      }
    }

    // table
    &table {

      &__ {

        &header-wrapper {
          th {
            background: #fafafa;
            border-bottom: 1px solid #f0f0f0;
          }
        }
      }

      .el-tag {
        margin-right: 8px;
      }

      .el-button {
        margin-left: 10px;
      }
    }

    // pagination
    &pagination {
      padding: 2px 0 2px 5px;

      .btn-next {
        margin: 0 0 0 5px;
      }
    }

    // popconfirm
    &popconfirm {

      &__ {

        &main {
          margin-top: 0;
          margin-bottom: 12px;
        }
      }
    }

    // dialog
    &dialog {

      &__ {

        &header,
        &footer {
          padding: 15px;
        }

        &header {
          border-bottom: 1px solid #eee;
        }

        &footer {
          border-top: 1px solid #eee;
        }

        &body {
          padding: 15px;
          background: #f7f7f7;
        }
      }
    }
  }
}

// sp style
.sp {

  &- {
    &section {
      padding-bottom: 100px;
      .print-btn {
        padding-bottom:10px;
        overflow: hidden;
        .el-button {
          float: right;
        }
        
      }
      &__ {
        &list {
          
          &-group {
            td {
              padding: 5px 10px;
            }
            &:nth-child(2n+1) {
              background-color: #fafafa;
            }
          }
        }
      }
    }
    // modal
    &modal {
      display: flex;

      &__ {

        &wrap {
          flex-wrap: wrap;
        }

        &column {
          flex-direction: column;
        }

        // boxes
        &boxes {
          background: #fff;
          border: 1px solid #e2e2e2;
          border-radius: 3px;
          box-shadow: 0 0 15px 1px rgba(0, 0, 0, .06);
          padding: 15px;

          h3 {
            margin: 0;
            padding-bottom: 15px;
            margin-bottom: 15px;
            font-size: 14px;
            border-bottom: 1px solid #e2e2e2;
          }
        }
      }
    }
  }
}

.oa-form {
  // width: 1000px;
  // margin: 0 auto;

  &__ {
    &dialog-tab {
      width: 100%;
        border: solid #ccc;
        border-width: 1px 1px 0 0;
        margin-bottom: 10px;
        .red { 
          display: block;
          color: red;
        }
        td {
          padding:10px;
          border: solid #ccc;
          border-width: 0 0 1px 1px;

          &._name {
           width: 140px;
          }
          
        }
    }
    &table {
      input[type=number]::-webkit-inner-spin-button,
      input[type=number]::-webkit-outer-spin-button {
          -webkit-appearance: none;
          margin: 0;
      }
      .el-input {
        position: relative;
        font-size: 14px;
        display: inline-block;
        max-width: 90%;
        min-width: 90%;
        width: auto;
      }
      .el-select {
        width:100%;
      }
      &-title {
        text-align: center;
        padding:20px 0;
      }
      &-hd,&-head {
        height: 38px;
        line-height: 38px;
        background: #455bab;
        color: #fff;
        padding: 0 15px;
        margin: 0;
        font-size: 18px;
        min-width: 120px;
        font-weight: 400;
      }
      // &-head {
      //   color:#455bab;
      //   background: #fff;
      // }
      .submit {
        width: 60px;
        margin: 0 auto;
        padding:20px;
      }
      ._name {
        background: #eee;
    }
      table {
        width: 100%;
        border: solid #ccc;
        border-width: 1px 1px 0 0;
        margin-bottom: 10px;
        .red { 
          display: block;
          color: red;
        }
        td {
          padding:10px;
          border: solid #ccc;
          border-width: 0 0 1px 1px;
          .el-input.is-disabled .el-input__inner,.el-textarea.is-disabled .el-textarea__inner, .el-textarea__inner {
            color: #000;
            font-size: 14px;
            &::placeholder {
              color: #C0C4CC;
            }
          }
          .el-input__inner {
            color: #000;
            &::placeholder {
              color: #C0C4CC;
            }
          }
          &._name {
           width: 140px;
           color: #000;
          }
          
        }
      }
    }
  }

  .el-select {
    font-size: 14px;
    display: inline-block;
    max-width: 90%;
    min-width: 90%;
    width: auto;
  }
}